package cn.broadsense.web.controller.vo;

import cn.broadsense.common.annotation.SM4Decode;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author huangjinshi
 * @description
 * @createDate 2023-09-12 11:42:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户信息")
public class UserVO implements Serializable {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号码")
//    @SM4Decode
    private String phonenumber;

    @ApiModelProperty("性别 0=男 1=女 2=未知")
    private String sex;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("所属部门名称")
    private String deptName;

    @ApiModelProperty("所属区域名称")
    private String areaName;
}
